'''
Author: your name
Date: 2020-11-04 17:14:31
LastEditTime: 2020-11-04 17:16:20
LastEditors: your name
Description: In User Settings Edit
FilePath: \python-study\djangoS\HelloWorld\HelloWorld\Controllers\views.py
'''
from django.shortcuts import HttpResponse

class views:
    def index(request,year):
        print(year) # 一个形参代表路径中一个分组的内容，按顺序匹配
        return HttpResponse('菜鸟教程')